﻿using Infrastructure.AggregateBase;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace Domain.Model
{
    [Table("Wxmini")]
    public class WxMiniAggregate : AggregateRoot<WxMiniAggregate, int>
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public override int ID { get; set; }
        public int UserID { get; set; }
        [StringLength(500)]
        public string HeadImg { get; set; }
        [StringLength(255)]
        public string WxUnionID { get; set; }
        [StringLength(255)]
        public string WxOpenID { get; set; }
        [StringLength(2000)]
        public string WxData { get; set; }
    }
}
